package com.gjm.demo.service;

import com.gjm.demo.mapper.UserInfoMapper;
import org.apache.ibatis.annotations.Insert;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoService {

    @Autowired
    private UserInfoMapper userInfoMapper;

    public Integer insertUserInfo(String username, String password) {
        return userInfoMapper.insertUserInfo(username, password);
    }
}
